<template>
<div>
    <el-form-item :label="$t('product.barcode_label')" prop="model.sku.product_no">
      <el-input v-model="form.model.sku.productNo" class="max-w460"></el-input>
    </el-form-item>
    <el-form-item
      :label="$t('product.product_price_label')"
      width="80"
      :rules="[{  required: true,  message: $t('product.input_product_price')}]"
      prop="model.sku.productPrice"
    >
      <el-input
        type="number"
        v-model="form.model.sku.productPrice"
        class="max-w460"
      ></el-input>
    </el-form-item>
    <el-form-item
      :label="$t('product.strike_price_label')"
      :rules="[{  required: true,  message: $t('product.input_strike_price')}]"
      prop="model.sku.linePrice"
    >
      <el-input
        type="number"
        v-model="form.model.sku.linePrice"
        class="max-w460"
      ></el-input>
    </el-form-item>
    <el-form-item
      :label="$t('product.stock_quantity')"
      :rules="[{  required: true,  message: $t('product.input_stock_quantity')}]"
      prop="model.sku.stockNum"
    >
      <el-input
        type="number"
        v-model="form.model.sku.stockNum"
        class="max-w460"
      ></el-input>
    </el-form-item>
    <el-form-item
      :label="$t('product.product_weight_label')"
      :rules="[{  required: true,  message: $t('product.input_product_weight')}]"
      prop="model.sku.productWeight"
    >
      <el-input
        type="number"
        v-model="form.model.sku.productWeight"
        class="max-w460"
      ></el-input>
    </el-form-item>
  </div>
</template>

<script>
export default {
  inject: ["form"]
};
</script>

